<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>伪类选择器目标伪类</title>
  <style>
    div:lang(en){
      color: blueviolet;
    }
    :lang(zh-CN){
      color: red;
    }

  </style>
</head>
<body>
  <div >天桥嘉成</div>
  <div>技术中心</div>
  <div>软件部</div>
  <div lang="en">java组</div>


  
</body>
</html>